package com.cn.dai.exception;

import lombok.Data;

@Data
public class BizException extends RuntimeException{
    private String errorCode;
    private String message;
    BizException(String errorCode,String message){
        super(message);
        this.errorCode = errorCode;
        this.message = message;
    }
}
